package com.jluzh10.learning.dao;

import com.jluzh10.learning.domain.CourseGroup;
import com.jluzh10.learning.domain.CourseGroupExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseGroupMapper {
    long countByExample(CourseGroupExample example);

    int deleteByExample(CourseGroupExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CourseGroup record);

    int insertSelective(CourseGroup record);

    List<CourseGroup> selectByExample(CourseGroupExample example);

    CourseGroup selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CourseGroup record, @Param("example") CourseGroupExample example);

    int updateByExample(@Param("record") CourseGroup record, @Param("example") CourseGroupExample example);

    int updateByPrimaryKeySelective(CourseGroup record);

    int updateByPrimaryKey(CourseGroup record);
}